<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      FAAC-1.29.9.2
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="audiofile.html" title=
          "AudioFile-0.3.6">Prev</a>
          <p>
            AudioFile-0.3.6
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="faad2.html" title="FAAD2-2.8.8">Next</a>
          <p>
            FAAD2-2.8.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="faac" name="faac"></a>FAAC-1.29.9.2
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to FAAC
        </h2>
        <p>
          <span class="application">FAAC</span> is an encoder for a lossy
          sound compression scheme specified in MPEG-2 Part 7 and MPEG-4 Part
          3 standards and known as Advanced Audio Coding (AAC). This encoder
          is useful for producing files that can be played back on iPod.
          Moreover, iPod does not understand other sound compression schemes
          in video files.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://downloads.sourceforge.net/faac/faac-1.29.9.2.tar.gz">
                https://downloads.sourceforge.net/faac/faac-1.29.9.2.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 2b58d621fad8fda879f07b7cad8bfe10
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 476 KB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 3.2 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: less than 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/faac">http://wiki.linuxfromscratch.org/blfs/wiki/faac</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of FAAC
        </h2>
        <p>
          Install <span class="application">FAAC</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr --disable-static &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a test suite. However, basic
          functionality can be tested by encoding a sample WAV file (the
          sample file is installed by the <a class="xref" href=
          "alsa-utils.html" title="alsa-utils-1.2.2">alsa-utils-1.2.2</a>
          package:
        </p>
        <pre class="userinput">
<kbd class=
"command">./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</kbd>
</pre>
        <p>
          Then, decode the result using the <span class=
          "command"><strong>faad</strong></span> program from the <a class=
          "xref" href="faad2.html" title="FAAD2-2.8.8">FAAD2-2.8.8</a>
          package and play back the decoded file (requires the <span class=
          "command"><strong>aplay</strong></span> program from the <a class=
          "xref" href="alsa-utils.html" title=
          "alsa-utils-1.2.2">alsa-utils-1.2.2</a> package:
        </p>
        <pre class="userinput">
<kbd class="command">faad Front_Left.mp4
aplay Front_Left.wav</kbd>
</pre>
        <p>
          <span class="command"><strong>aplay</strong></span> should identify
          the file as <span class="quote">&ldquo;<span class="quote">Signed
          16 bit Little Endian, Rate 48000 Hz, Stereo</span>&rdquo;</span>,
          and you should hear the words <span class=
          "quote">&ldquo;<span class="quote">front left</span>&rdquo;</span>.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
      </div>
      <div class="sect2" lang="en" xml:lang="en">
        <h2 class="sect2">
          Other AAC encoders
        </h2>
        <p>
          The quality of <span class="application">FAAC</span> is not up to
          par with the best AAC encoders currently available. Also, it only
          supports AAC and not High Efficiency AAC (also known as aacPlus),
          which provides better quality at low bitrates by means of using the
          <span class="quote">&ldquo;<span class="quote">spectral band
          replication</span>&rdquo;</span> technology. There are the
          following alternative programs for producing AAC and HE-AAC
          streams:
        </p>
        <div class="itemizedlist">
          <ul>
            <li class="listitem">
              <p>
                <a class="ulink" href=
                "http://www.nero.com/eng/nero-aac-codec.html">Nero AAC
                Codec</a>: available only in the binary form, the
                command-line AAC and HE-AAC encoders for Linux are in the
                same archive as the Windows application.
              </p>
            </li>
            <li class="listitem">
              <p>
                <a class="ulink" href=
                "http://www.3gpp.org/ftp/Specs/html-info/26410.htm">3GPP
                Enhanced aacPlus general audio codec</a>: available in the
                source form, can encode only HE-AAC up to 48 kbps out of the
                box, but the maximum bitrate can be changed by editing the
                tuning table in the <code class=
                "filename">FloatFR_sbrenclib/src/sbr_main.c</code> file.
              </p>
            </li>
          </ul>
        </div>
        <p>
          Note, however, that iPod supports only Low Complexity AAC profile,
          which is the default in FAAC, but may not be the default in Nero
          AAC Encoder and is completely unavailable in the 3GPP encoder.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Program:</strong>
              <span class="segbody">faac</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libfaac.so and libmp4v2.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">None</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="faac-prog" name="faac-prog"></a><span class=
                    "term"><span class=
                    "command"><strong>faac</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is a command-line AAC encoder.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libfaac" name="libfaac"></a><span class=
                    "term"><code class="filename">libfaac.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions for encoding AAC streams.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libmp4v2" name="libmp4v2"></a><span class=
                    "term"><code class="filename">libmp4v2.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains functions for creating and manipulating MP4
                    files.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-09 10:02:12 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="audiofile.html" title=
          "AudioFile-0.3.6">Prev</a>
          <p>
            AudioFile-0.3.6
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="faad2.html" title="FAAD2-2.8.8">Next</a>
          <p>
            FAAD2-2.8.8
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="libdriv.html" title=
          "Chapter&nbsp;42.&nbsp;Multimedia Libraries and Drivers">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
